<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<!--<title>2018—2019学年初一年级自主招生报名登记表  佛山市顺德德胜幼儿园入园登记表</title>-->
<title>打印</title>


<style>
</style>

<script language="javascript" type="text/javascript" src="__PUBLIC__/other/datepicker/WdatePicker.js"></script>
<script language="javascript" type="text/javascript"  src="__PUBLIC__/other/images/jquery-1.11.3.min.js" ></script>
<script language="javascript" type="text/javascript"  src="__PUBLIC__/other/images/common.js"></script>


<script language="javascript" type="text/javascript"  src="__PUBLIC__/other/images/jquery.jqprint-0.3.js" ></script>

<script src="__PUBLIC__/other/images/jquery-migrate-1.2.1.min.js"></script>

<link href="https://cdn.staticfile.org/twitter-bootstrap/3.3.7/css/bootstrap.min.css" rel="stylesheet">

<link href="https://cdn.staticfile.org/flat-ui/2.3.0/css/flat-ui.min.css" rel="stylesheet">

<link href="__PUBLIC__/other/images/web.css" rel="stylesheet" type="text/css">
<link href="__PUBLIC__/other/images/web_p.css" rel="stylesheet" type="text/css">
<link rel="stylesheet" href="__PUBLIC__/other/images/weui.min.css">
<link rel="stylesheet" href="__PUBLIC__/other/images/jquery-weui.min.css">






</head>
<script>
$(function(){
//$('#div_print').jqprint();
});

  function save_ok(){
//top.hide_wait();
eval(saveok_func); //调用不同的后续处理代码
}


function ok(){

//if(!form_check())return;
if($("#residencePlace_picker").attr("data-codes"))$("#residencePlace_picker_hidden").val($("#residencePlace_picker").attr("data-codes"));
if($("#nowPlace_picker").attr("data-codes"))$("#nowPlace_picker_hidden").val($("#nowPlace_picker").attr("data-codes"));
if($("#graduatePlace_picker").attr("data-codes"))$("#graduatePlace_picker_hidden").val($("#graduatePlace_picker").attr("data-codes"));
//return;
//alert("here");return;

// if(!check_input())return;
// $("roleid").value=selectids("roleid_s[]",0);
//return;
//roleid_s
// alert("here");return;
//top.show_wait(self,"正在执行更新操作，请稍后…",1);
//saveok_func="alert('提示：编辑成功');location.href='users.php';";

saveok_func="show_message('保存成功');";
//saveok_func="location.href='../expert.php';";
$("#form1")[0].action="common/data_save.php?url=BjkEZVE4UztTaltlAjoHZQQ0BnIBZwxVB3UObAAhVzEEdQJjVjINdQI%2BADRROgkyATFXM1AzVHQNaARmAyBSMAZsBGBRJVMAU3RbZQJg";
$("#form1")[0].target="iframe_data_save";
$("#form1")[0].submit();
}

 $(function(){
$("#state").val("");
$("#sex").val("0");



$(".add_skill").click(function(){
$("#skills").clone(true).insertBefore(".add_skill").val("");
	});




$("#roleid_all").click(function(){
	var isChecked = $("#roleid_all").prop("checked");
	$("input[name='roleid_s[]']").prop("checked", isChecked);
});






//upload
$img_obj_div_logo=$('<div class="img_obj_div"><img src="" name="img_obj" index=0 width="100" height="100"   border="0" align="middle" onClick="win_open(0,this.src);" class="img_obj"  /><a href="javascript:void(0);" class="img_obj_del">删除</a><input name="headicon" type="hidden" id="headicon" value=""></div>');
$img_obj_div_img=$('<div class="img_obj_div"><img src="" name="img_obj" index=0 width="100" height="100"   border="0" align="middle" onClick="win_open(0,this.src);" class="img_obj"  /><a href="javascript:void(0);" class="img_obj_del">删除</a><input name="img[]" type="hidden" id="img" value=""></div>');

//1.9后live的替代，实现clone后能绑定事件
$(document).on("click",'.img_obj_del',function(){
$(this).parent().remove();/*如果只剩下一个，则不删除*/
});

//$(".add_img").eq(0).before( $img_obj_div_logo.clone(true).attr("index",0).find("img").attr("src","/upfile/").end().find("input").val("/upfile/").end() );

var size_arr= new Array(5,2);
var type_arr=new Array("jpg|jpeg|gif|png","jpg|jpeg|gif|png");
var resize_arr=new Array("500*0","200*0");

$("input[name='upload_file']").change(function(event,	m){

var imgPath = $(this).val();
if(!imgPath)return;
var file_error=false;
var error_str="";
var mul=false;
if($(this).attr("multiple")=="multiple")mul=true;
$up_obj=$(this);

var index=parseInt($(this).attr("index"));
var data = new FormData();
data.append('size', size_arr);
data.append('type', type_arr);
data.append('resize',resize_arr);
data.append('index',index);
         //为FormData对象添加数据
         $.each($(this)[0].files, function(i, file) {
		    	///*js判断文件
			if (file.name == "") {//判断是否选择文件
			//alert("请选择上传文件！");
            error_str="请选择上传文件！";file_error=true;return false;
            }
			if(file.size>size_arr[index]*1024*1024){//判断文件大小
			//alert("文件大小不能大于"+size_arr[index]+"M！");
			error_str="文件大小不能大于"+size_arr[index]+"M！";file_error=true;return false;
			}
            //判断上传文件的后缀名
            var strExtension = file.name.substr(file.name.lastIndexOf('.') + 1).toLowerCase();
			 //alert(strExtension+"/"+type_arr[index]);
			if($.inArray(strExtension, type_arr[index].split("|"))==-1){
			 //alert( type_arr[index]);
			error_str="请选择上传图片文件！";file_error=true;return false;
			}
             data.append('upload_file[]', file);
			 //if(!mul)return false;//如果非多选，则只上传一个
			          });
if(file_error){
top.show_message(error_str);return;
}

top.show_wait();
         //发送数据
        $.ajax({
             url:'common/upload.php',
             type:'POST',
             data:data,
             cache: false,
             contentType: false,        //不可缺参数
             processData: false,        //不可缺参数
             success:function(data){
top.close_layer();
			// alert(data);return;
			if(data.substr(0,6)=="error:"){/*失败*/
			 top.show_error();return;//alert("上传失败，原因可能是\n"+data.substr(6))
			 }else{/*成功*/
			 }
// alert($up_obj.siblings(".img_obj_div").length);return;
			if(mul){/*批量上传时*/
			data_arr=data.split("|");
			for(i=0;i<data_arr.length;i++){
$(".add_img").eq(index).before( $img_obj_div_img.clone(true).find("img").attr("src","..//upfile/"+data_arr[i]).end().find("input").val(data_arr[i]).end() );
}
			}else{
//$(".img_obj_div_logo").remove();
$up_obj.siblings(".img_obj_div").remove();
//alert($up_obj.siblings(".img_obj_div").length);
$(".add_img").eq(index).before( $img_obj_div_logo.clone(true).find("img").attr("src","..//upfile/"+data).end().find("input").val(data).end() );
            }

}, error:function(){
                 //alert('上传出错');
				 top.show_error();return;//alert("上传失败");return;
                //$(".loading").hide();    //加载失败移除加载图片
             }
});

});
//upload

});





</script>
<body styles="background:url('/kc/images/introbg.jpg') repeat center bottom;margin:0 auto;">
<form id="form1" name="form1" method="post" action=""  enctype="multipart/form-data">
<input id="id" name="id" type="hidden" class="topinput" value="338" />
<input id="roleid" name="roleid" type="hidden" class="topinput" value=""   />

<div id="div_print" style="padding: 40px;">
	    <table data-sort="sortDisabled" align="center" style="width: 100%;" border="1">
    <tbody>
        <tr class="firstRow">
            <td valign="top" style="word-break: break-all;" rowspan="1" colspan="7" align="center">
                <strong><span style="font-size: 24px;">佛山市顺德德胜幼儿园入园登记表</span></strong>
            </td>
        </tr>
        <tr>
            <td width="137" valign="middle" style="word-break: break-all;" align="center">
                NO.
            </td>
            <td valign="top" style="word-break: break-all;" rowspan="1" colspan="2">
                <?php echo getFullNum($studentInfo['student_id']); ?>
            </td>
            <td width="137" valign="top" style="word-break: break-all;">
                入读日期：
            </td>
            <td valign="top" style="word-break: break-all;" rowspan="1" colspan="2">
                xxx
            </td>
            <td width="137" valign="top" style="word-break: break-all;" rowspan="4" colspan="1"></td>
        </tr>
        <tr>
            <td width="137" valign="middle" style="word-break: break-all;" align="center">
                幼儿姓名
            </td>
            <td width="137" valign="top" style="word-break: break-all;">{$studentInfo['name']}</td>
            <td width="137" valign="middle" style="word-break: break-all;" align="center">
                性别
            </td>
            <td width="137" valign="top" style="word-break: break-all;"><?php echo $studentInfo['sex']==1? '男':'女'; ?></td>
            <td width="137" valign="middle" style="word-break: break-all;" align="center">
                出生年月
            </td>
            <td width="137" valign="top"><?php echo date('Y-m-d',$studentInfo['birth_date']); ?></td>
        </tr>
        <tr>
            <td width="137" valign="middle" style="word-break: break-all;" align="center">
                出生地
            </td>
            <td width="137" valign="top">{$studentInfo['birth_address']}</td>
            <td width="137" valign="middle" style="word-break: break-all;" align="center">
                籍贯
            </td>
            <td width="137" valign="top">{$studentInfo['native_place']}</td>
            <td width="137" valign="middle" style="word-break: break-all;" align="center">
                报读班级
            </td>
            <td width="137" valign="top">
				<?php $desc = '';
				$value = $studentInfo['add_class'];
				if($value=='1'){ $desc = '小小班'; }
				if($value=='2'){ $desc = '小班'; }
				if($value=='3'){ $desc = '中班'; }
				if($value=='4'){ $desc = '大班'; }  echo $desc; // ?>
			</td>
        </tr>
        <tr>
            <td width="137" valign="middle" style="word-break: break-all;" align="center">
                家庭地址
            </td>
            <td width="137" valign="top" style="word-break: break-all;">
                {$studentInfo['address']}
            </td>
            <td width="137" valign="middle" style="word-break: break-all;" align="center">
                家庭电话
            </td>
            <td width="137" valign="top" style="word-break: break-all;"></td>
            <td width="137" valign="middle" style="word-break: break-all;" align="center">
                是否业主
            </td>
            <td width="137" valign="top"></td>
        </tr>
        <tr>
            <td width="137" valign="middle" style="word-break: break-all;" rowspan="4" colspan="1" align="center">
                家庭成员情况
            </td>
            <td width="137" valign="middle" style="word-break: break-all;" align="center">
                姓名
            </td>
            <td width="137" valign="middle" style="word-break: break-all;" align="center">
                称谓
            </td>
            <td valign="middle" style="word-break: break-all;" rowspan="1" colspan="2" align="center">
                工作单位（学校）
            </td>
            <td width="137" valign="middle" style="word-break: break-all;" align="center">
                职务
            </td>
            <td width="137" valign="middle" style="word-break: break-all;" align="center">
                单位电话及手机号码
            </td>
        </tr>
        <tr>
            <td width="137" valign="top" style="word-break: break-all;">
                xx
            </td>
            <td width="137" valign="top"></td>
            <td valign="top" rowspan="1" colspan="2"></td>
            <td width="137" valign="top"></td>
            <td width="137" valign="top"></td>
        </tr>
        <tr>
            <td width="137" valign="top" style="word-break: break-all;">
                xx
            </td>
            <td width="137" valign="top"></td>
            <td valign="top" rowspan="1" colspan="2"></td>
            <td width="137" valign="top"></td>
            <td width="137" valign="top"></td>
        </tr>
        <tr>
            <td width="137" valign="top" style="word-break: break-all;">
                xx
            </td>
            <td width="137" valign="top"></td>
            <td valign="top" rowspan="1" colspan="2"></td>
            <td width="137" valign="top"></td>
            <td width="137" valign="top"></td>
        </tr>
        <tr>
            <td width="137" valign="middle" style="word-break: break-all;" rowspan="4" colspan="1" align="center">
                幼儿情况
            </td>
            <td width="137" valign="middle" style="word-break: break-all;" align="center">
                体质
            </td>
            <td width="137" valign="middle" style="word-break: break-all;" align="center">
                有否午睡习惯
            </td>
            <td valign="middle" style="word-break: break-all;" rowspan="1" colspan="2" align="center">
                最不喜欢的食物
            </td>
            <td valign="middle" rowspan="1" colspan="2" align="center">
                日常有谁照顾
            </td>
        </tr>
        <tr>
            <td valign="top" colspan="1" rowspan="1" style="word-break: break-all;">
                xx
            </td>
            <td valign="top" colspan="1" rowspan="1"></td>
            <td valign="top" colspan="2" rowspan="1"></td>
            <td valign="top" colspan="2" rowspan="1"></td>
        </tr>
        <tr>
            <td valign="middle" colspan="2" rowspan="1" style="word-break: break-all;" align="center">
                有何药物过敏
            </td>
            <td valign="middle" colspan="2" rowspan="1" style="word-break: break-all;" align="center">
                有何食物过敏
            </td>
            <td valign="middle" colspan="2" rowspan="1" align="center">
                有何特殊病史
            </td>
        </tr>
        <tr>
            <td valign="top" colspan="2" rowspan="1" style="word-break: break-all;">
                xx
            </td>
            <td valign="top" colspan="2" rowspan="1"></td>
            <td valign="top" colspan="2" rowspan="1"></td>
        </tr>
        <tr>
            <td valign="middle" colspan="1" rowspan="2" style="word-break: break-all;" align="center">
                本园填
            </td>
            <td valign="middle" colspan="1" rowspan="1" style="word-break: break-all;" align="center">
                园服型号
            </td>
            <td valign="middle" colspan="1" rowspan="1" style="word-break: break-all;" align="center">
                班级安排
            </td>
            <td valign="middle" colspan="2" rowspan="1" align="center">
                体检结果
            </td>
            <td valign="middle" colspan="2" rowspan="1" style="word-break: break-all;" align="center">
                备注
            </td>
        </tr>
        <tr>
            <td valign="top" colspan="1" rowspan="1" style="word-break: break-all;">
                xx
            </td>
            <td valign="top" colspan="1" rowspan="1"></td>
            <td valign="top" colspan="2" rowspan="1" style="word-break: break-all;"></td>
            <td valign="top" colspan="2" rowspan="1" style="word-break: break-all;"></td>
        </tr>
        <tr>
            <td valign="top" colspan="7" rowspan="1" style="word-break: break-all;" align="right">
                班级存
            </td>
        </tr>
    </tbody>
</table>
</div>
<table width="100%" height="60" border="0" align="center" cellpadding="0" cellspacing="0">
  <tr>
    <td align="center"><input name="button_c222"  type="button" class="img_button" id="button_c222"  value="   确认无误，打印   "  />
    <!--<td align="center"><input name="button_c222"  type="button" class="img_button" id="button_c222" onclick="$('#div_print').jqprint();" value="   打 印   "  />-->
&nbsp;
<input name="button_c222"  type="button" class="img_button" id="button_c222" onclick="location.href='/index.php/StudentApi/reg.html'" value="   修改信息   " /></td>
  </tr>
</table>
<input type="hidden" name="student_id" value="{$student_id}" />

</td>
  </tr>
  </table>


<script>

$(document).ready(function(){

	$('#button_c222').click(function(){

		//alert('请再次确认您的信息无误，一经');

		//if(confirm('打印后信息将被锁定不能修改，确认&打印?')){

			<!-- var student_id = $('input[name="student_id"]').val(); -->
			<!-- //alert(student_id); -->
			<!-- $.post('__APP__/Student/confirmData',{'student_id':student_id},function(data){ -->

				$('#div_print').jqprint();
			//});


		//}
	});
});

</script>





<iframe align="center"  name="iframe_data_save"  id="iframe_data_save" style="display:none"></iframe>
</form>

</body>
</html>
